package com.hioove.test.service;

import com.hioove.core.annotation.Resource;
import com.hioove.core.annotation.Service;
import com.hioove.test.repository.IndexRepository;

import java.util.Map;

@Service
public class IndexService {
    @Resource
    private IndexRepository indexRepository;

    @Resource
    private IndexRepository indexRepository0;

    public Map say() {
        System.out.println("___________say_______________");
        System.out.println(indexRepository.toSay());
        System.out.println(indexRepository0.toSay());
        return indexRepository.toSay();
    }
}
